package com.can.mapper;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.can.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * @Description 用户访问数据库接口
 * @Author can
 * @Date 2018/8/28
 * @Version 1.0
 */
public interface UserMapper extends BaseMapper<User>{
    /**
     * 根据账号查询用户
     * @param account 账号
     * @return
     */
    User selectByAccount(@Param("account") String account);
}
